import request from '@/utils/request'

// 查询vip支付记录列表
export function listAOrder(query) {
  return request({
    url: '/system/aOrder/list',
    method: 'get',
    params: query
  })
}

// 查询vip支付记录详细
export function getAOrder(id) {
  return request({
    url: '/system/aOrder/' + id,
    method: 'get'
  })
}

// 新增vip支付记录
export function addAOrder(data) {
  return request({
    url: '/system/aOrder',
    method: 'post',
    data: data
  })
}

// 修改vip支付记录
export function updateAOrder(data) {
  return request({
    url: '/system/aOrder',
    method: 'put',
    data: data
  })
}

// 删除vip支付记录
export function delAOrder(id) {
  return request({
    url: '/system/aOrder/' + id,
    method: 'delete'
  })
}

// 逻辑删除vip支付记录
export function logicDelAOrder(id) {
  return request({
    url: '/system/aOrder/logicDel/' + id,
    method: 'delete'
  })
}
